package com.gzhryc.net_marketing.api.protocol.account;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;

public class CloudPayAccountInfoResponse extends SecurityResponse<CloudPayAccountInfoResponse.Body> {

    private static final long serialVersionUID = 1L;

    public CloudPayAccountInfoResponse() {
        this.body = new Body();
    }

    public CloudPayAccountInfoResponse(Integer code) {
        super(code);
        this.body = new Body();
    }

    public CloudPayAccountInfoResponse(Integer code, String msg) {
        super(code,msg);
        this.body = new Body();
    }


    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private Long accountId;
        private Integer money;
        private Integer freezeMoney;
        private String updateMoneyDate;
        private String updateFreezeMoneyDate;

        public Long getAccountId() {
            return accountId;
        }

        public void setAccountId(Long accountId) {
            this.accountId = accountId;
        }

        public Integer getMoney() {
            return money;
        }

        public void setMoney(Integer money) {
            this.money = money;
        }

        public Integer getFreezeMoney() {
            return freezeMoney;
        }

        public void setFreezeMoney(Integer freezeMoney) {
            this.freezeMoney = freezeMoney;
        }

        public String getUpdateMoneyDate() {
            return updateMoneyDate;
        }

        public void setUpdateMoneyDate(String updateMoneyDate) {
            this.updateMoneyDate = updateMoneyDate;
        }

        public String getUpdateFreezeMoneyDate() {
            return updateFreezeMoneyDate;
        }

        public void setUpdateFreezeMoneyDate(String updateFreezeMoneyDate) {
            this.updateFreezeMoneyDate = updateFreezeMoneyDate;
        }
    }
}
